
import '@/styles/index.scss' // global css
import { createApp } from 'vue'
import App from './App.vue'
import { router } from './router'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
// import ElementPlus from 'element-plus' //全局引入
// import 'element-plus/dist/index.css'


//Vant
// import { Form, Field, CellGroup,Picker,Button,Popup  } from 'vant';
import Vant from 'vant';
import 'vant/lib/index.css';

import * as echarts from 'echarts'



const app = createApp(App)
app.config.productionTip = false;

app.use(router)
app.use(Antd)
app.use(Vant)
// app.use(ElementPlus)
//Vant
// app.use(Button);
// app.use(Form);
// app.use(Field);
// app.use(CellGroup);
// app.use(Picker);
// app.use(Popup);
// 将echarts添加到全局变量
app.config.globalProperties.$echarts = echarts
app.mount('#app')


